<div id="toolbar">
    <link href="<?php echo $this->getBaseURL().'css/themes/'.PWE::getThemeUi().'/jquery-ui.css'; ?>" type="text/css" rel="stylesheet" media="all"/>
    <p align="center">PWE</p>
    <ul id="menu-toolbar">
        <li><a href="<?php echo PWE::getBaseUrl(); ?>admin" target="_admin" title="Aller à l'admin"><span class="ui-icon ui-icon-gear"></span> Admin</a></li>
        <li><a href="<?php echo PWE::getBaseUrl(); ?>admin/login.php" target="_admin" title="déconnexion"><span class="ui-icon ui-icon-unlocked"> </span> Déconnexion</a></li>
    </ul>
    <style>
        #toolbar{font-size: 10px;}
        .ui-menu{width: 100%;}
        .ui-dialog-titlebar{display: none;}
    </style>
    <script>
        $(function() {
            $( "#menu-toolbar" ).menu();
          });
          $( "#toolbar" ).dialog({
                position: { my: "left top", at: "left top", of: window }
                ,width: 100
                ,draggable: false
                ,minHeight: 0

          });
    </script>
</div>